package com.itheima.day05_method;

public class Demo4_oddOrEven {
    public static void main(String[] args) {
        judge(20);
        judge(5);
    }
    public static void judge(int number){
        if (number % 2 == 0){
            System.out.println(number + "是偶数");
        }else{
            System.out.println(number + "是奇数");
        }
    }
}
